1 Homepage: http://github.com/lassej/async/tree/master
5 script/plugin install git://github.com/lassej/async.git
10 #/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- ruby-debug (LoadError)
11 # from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
13 sudo gem install ruby-debug
15 #Building native extensions. This could take a while...
16 #Building native extensions. This could take a while...
17 #Successfully installed columnize-0.3.0
18 #Successfully installed linecache-0.43
19 #Successfully installed ruby-debug-base-0.10.3
20 #Successfully installed ruby-debug-0.10.3
29 @async_task = LinksController.async( :site_explore, :args => [@link])
34 task_checker = setInterval(function(){check_task(<%= @async_task.id -%>)}, 1000);
36 function check_task(id) {
37 $.ajax({ method: 'get',
38 url : '/links/task/' + id,
44 function list_links(data) {
45 $("#list").html(data[2][0].toString());
46 if (task_checker) clearInterval(task_checker);